﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MedicalCare.EntityDefinitions.Entities;
using MedicalCare.Messages;

namespace MedicalCare.DbLayer.Adaptors
{
    public interface IFamilyAdaptor : IDbAdaptor<FamilyMessage, FamilyEntity>
    {
        int Update(FamilyMessage msg);

        IList<FamilyEntity> GetPagingRecords(string orderKey, string orderVal,int pageIndex, int pageSize, string whereStr);
        IList<FamilyEntity> GetFamily(string orderKey, string orderVal, string whereStr);
        int InsertFamilyUserMapping(UserFamilyMappingMessage msg);
        int InsertEquipmentFamilyMapping(EquipmentFamilyMappingMessage msg);

    }
}
